﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="m_MeetingRecorderSearch.aspx.cs" Inherits="OAWeb.m_MeetingRecorderSearch" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>会议纪要</title>
    <link href="Style.css" rel="stylesheet" type="text/css" />

</head>
<body>
<form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
     <div style="text-align:center">
         <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
             ConnectionString="<%$ ConnectionStrings:ConnectionString %>" 
             
             
             
             
             
             
             
             SelectCommand="SELECT * FROM [vw_MeetingRecord] ORDER BY [RecorderInTime] DESC">
         </asp:SqlDataSource>
   <table id="Table1" border="0" cellpadding="0" cellspacing="0" style="width: 600px">
            <tr>
                <td>
                <table cellspacing="0" cellpadding="5" border="0" style="width: 600px">
						<tr>
							<td style="background-color:<%=Application[Session["Style"].ToString()+"xtable_bgcolor"]%>; width: 612px;">
								<table cellspacing=0 borderColorDark='<%=Application[Session["Style"].ToString()+"xtable_bordercolordark"]%>' 
                                    cellPadding=5 width="100%" 
                                    borderColorLight='<%=Application[Session["Style"].ToString()+"xtable_bordercolorlight"]%>' 
                                    border=1>
									<tr>
										<td style="background-color:<%=Application[Session["Style"].ToString()+"xtable_titlebgcolor"]%>">                      
                                            <asp:Label ID="Label1" runat="server" Text="会议纪要" SkinID="Title"></asp:Label></td>
									</tr>
								</table>
                            </td>
                        </tr>
                        <tr>
                            <td style="background-color:<%=Application[Session["Style"].ToString()+"xtable_bgcolor"]%>">
  
                                <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                                    AutoGenerateColumns="False" DataSourceID="SqlDataSource1" 
                                    onrowdatabound="GridView1_RowDataBound" ShowFooter="true">
                                    <Columns>
                                        <asp:TemplateField HeaderText="会议议题">
                                            <ItemTemplate>
                                            <a href="#" onclick="window.open ('<%# Eval("mID", "/m_MeetingDetails.aspx?mID={0}") %>', 'newwindow', 'height=400, width=600, top=300, left=500, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no')" >
                                            <%# Eval("mTitle", "{0}") %>
                                            </a>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="mInTime" HeaderText="开会时间" 
                                            SortExpression="mInTime" />
                                        <asp:BoundField DataField="mOutTime" HeaderText="结束时间" 
                                            SortExpression="mOutTime" />
                                        <asp:BoundField DataField="mMasters" HeaderText="主持人" 
                                            SortExpression="mMasters" />
                                        <asp:BoundField DataField="RoomName" HeaderText="开会地点" 
                                            SortExpression="RoomName" />
                                        <asp:TemplateField HeaderText="查询纪要">
                                            <ItemTemplate>
                                            <a href="#" onclick="window.open ('<%# Eval("ID", "/m_MeetingRecorderShow.aspx?ID={0}") %>', 'newwindow', 'height=500, width=600, top=300, left=500, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=n o, status=no')" ><img src="/images/add.gif" border="0"></a>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                </asp:GridView>
  
                            </td>
                        </tr>
                    </table>
				</td>
			</tr>
		</table> 
		</div>
    </form>
</body>
</html>